package cn.hl.hm.util.alipayJs;

/* *
 *类名：AlipayConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 *版本：3.4
 *修改日期：2016-03-08
 *说明：
 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。
 */

public class AlipayConfig {
	
//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
	/**
	 * 北京1.2以后用作测试
	 */
	// 01【北京 测试环境】合作身份者ID，签约账号，以2088开头由16位纯数字组成的字符串，查看地址：https://b.alipay.com/order/pidAndKey.htm
	//public static String partner = "2088321042043595";//【北京 测试环境】
	// 02【北京 测试环境】 商户的私钥,需要PKCS8格式，RSA公私钥生成：https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.nBDxfy&treeId=58&articleId=103242&docType=1
	//public static String private_key = "MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBANXwVLHRzwPpUv7CCz3QbzVIeDBN87reexGqCSIldVGOrYq3rgo44LMoIPncsN8/VOj7dik6ycHYv1DFiMPbTen2zfxjWYFj4gR5Yrvo8iLUZd9GnbfRKzAmEKtPhELt1tMn7LyYa4H+RybBl4ih4BpD50V5FIMkTii2qSk56/67AgMBAAECgYBwhGnG6/XYtMo1upB2/jy+5VJw9U6OpZxMegU7tD+zmTqkjl42ehuTnjNZtjw/7esWbcqDfKvIC9ry/DEl8R1UTRqSXk9RTzfOrC/MWPSdRfPQd36dKlHTbY+jSqq31h5bw5zxMTskLLEaL4oWDohg6KNI0SuYrcz1eKdgbIVvwQJBAPjuQci70fh/vaFy8CK3x1gPY/4W8Y1S5lqC7bn1ysyYa3KUDZlhUusFQLiLlIGiFD3abRRAFzGAnVyP9cgaF9MCQQDcA64t3poCpwI3ZvQkk2C5nmsJq24cwXWATvWv1XRZw14J1S/TqZ7AY+xjY42B6Az3yd78XvCOyoyWddMhNNR5AkEAwYg7DN05OYHW5JZ/q/5FtWkBzKH52m4BOY1hVZqKuNYnc0U37W+FD8NdthyOsNpZ8lzHQV8yqQHdVgF2jMP8kQJBALt0L01JofKslMjbYRxgrUK5ZP1iIHlDo3dkzxO3TGDGgjLiftNaa7YD7P5pbcHHEnV0fBaOVWtzzADN9ssOFhECQQDgxC6YFRE0FHW0SgtrtL6DPQRP5bB0I6qEvSFkW8E5w5OEzo7FL1Hkbox817VjZina++XqYoaPQuxvHE98yPjN";
	// 03【北京 测试环境】 支付宝的公钥,查看地址：https://b.alipay.com/order/pidAndKey.htm  //北京账户 测试环境
	//public static String alipay_public_key  = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB";
	/**
	 * 新疆正式
	 */  
	// 01【 新疆 正式环境】合作身份者ID，签约账号，以2088开头由16位纯数字组成的字符串，查看地址：https://b.alipay.com/order/pidAndKey.htm
	public static String partner = "2088421497892509";//【新疆 正式环境】
	//02 【新疆 正式环境】 商户的私钥,需要PKCS8格式，RSA公私钥生成：https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.nBDxfy&treeId=58&articleId=103242&docType=1
	//public static String private_key = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBALQljjoYz926y8E/JIkpfYOMuHrWOzjuyfyst2F7HdzGomrrdDRQhJwWEGrRsKWmvyWtPfQ87UpIurSmMqYWgwXrQiKz+nW38igD39IfgJn4U9Y7FUMhWcDU1j/+xfTlLU+ehJjk6/vDhRfwVfluTsbD3MVc3UmVRFEihefWV4ktAgMBAAECgYBsLOkdJe0cnqDf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EG+RRGMDrQjGpXesC37z/Rj3JjV9E51VVzBV1lS9R8pWnGkKgn/B38e7cPxsbZewCCbDOg==";

	
	//03 【新疆 正式环境】支付宝的公钥,查看地址：https://b.alipay.com/order/pidAndKey.htm  //新疆账户 正式环境
	//public static String alipay_public_key  = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB";
	public static String alipay_public_key  = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApjS5Ls6o6sJn6KNlgLhFhuUxa1ERWdxuDm6oOFK1Ffji8C1DY84Xn/sQzlgNU0vlQkLSaGA4Qmxomd4dLjMpKEg6OjSFOvPM/kx1C7+uyEcmZ4LOOuCOc0B2uLItWleF+4eZSF/EY2IbZlijwe1fLU+Hj46hppdX3ViE9Orhg3jDB5PH6H4hLPIBUR2z8pugWlyjAG/dWA+kD93TSWwwHxYHvB8jUNdRZWl8gzXZ8DNqYOT0PoxdHEXpQ4bzvVjFZnlA9y2DMAO5NjbSB+SU3TOwpfERAKQtepw8TSsEWjgfOjLPFIiFSu/27eLD7Oz507K8h+htHYp9jD37YfzJlwIDAQAB";

	// 收款支付宝账号，以2088开头由16位纯数字组成的字符串，一般情况下收款账号就是签约账号
	
	public static String seller_id = partner;
	
	//04 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	//public static String notify_url = "http://apitest.hlvan.cn:8001/paymentCallback";
	public static String notify_url = "http://api.hlvan.cn:8001/paymentCallback";

	//05 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	//public static String return_url = "http://apitest.hlvan.cn:8001/alipayment/return_url.jsp";
	public static String return_url = "http://api.hlvan.cn:8001/alipayment/return_url.jsp";

	// 签名方式
	public static String sign_type = "RSA2";
	
	// 调试用，创建TXT日志文件夹路径，见AlipayCore.java类中的logResult(String sWord)打印方法。
	public static String log_path = "C:\\";
		
	// 字符编码格式 目前支持utf-8
	public static String input_charset = "utf-8";
		
	// 支付类型 ，无需修改
	public static String payment_type = "1";
		
	// 调用的接口名，无需修改
	public static String service = "alipay.wap.create.direct.pay.by.user";


//↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
}

